x86/build: Move exception tables into __ro_after_init
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 6 Dec 2021 13:07:08 +0000 (13:07 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 9 Dec 2021 16:26:29 +0000 (16:26 +0000)
commita0c3cd03ce76313a7c461ecb3e70b513a15453f7
treef6ff027e9dddaaa97af1589eac2e3859ec716fa5
parentc62d634cce8b1507d00a61bfc8168ac42367fe87
x86/build: Move exception tables into __ro_after_init

Since c/s 79713ed0a94c ("x86: move both exception tables into .rodata") in
2016, we've been (ab)using the fact that .rodata is read/write during early
boot, so we can sort the two tables.

Now that we have a real __ro_after_init concept, reposition them to better
match reality.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Roger Pau Monné <roger.pau@citrix.com>
CC: Wei Liu <wl@xen.org>
xen/arch/x86/xen.lds.S